// import { legacy_createStore,combineReducers} from 'redux'
import {legacy_createStore, combineReducers,compose,applyMiddleware} from "redux"
import reduxThunk from "redux-thunk"
// import handleXxxx from "./XxxxStatus/reducer"
import handlenum from './Numstatus/reducer'
import handlearr from './Arrstatus/reducer'
const reducers = combineReducers({
    handlenum,handlearr
})
// import handle from './reducer'
// const reducers:any = handle
let composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}):compose //rt

// 把仓库数据，浏览器redux-dev-tools，还有reduxThunk插件关联在store中
const store = legacy_createStore(reducers,composeEnhancers(applyMiddleware(reduxThunk))); 
// const store =legacy_createStore(reducers)
export default store